package com.eclink.asset.usercenter.domain.dao;

import com.baomidou.mybatisplus.annotation.TableId;
import com.eclink.asset.domain.dao.CommonEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
public class Message extends CommonEntity {

    private static final long serialVersionUID = -4690830446713903139L;

    @TableId
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 是否已读
     */
    private boolean read = false;


}
